package com.topboya.linker.ui.activity;

import com.topboya.linker.R;
import com.topboya.linker.ui.base.Presenter.BasePresenter;
import com.topboya.linker.ui.base.activity.BaseActivity;
import com.topboya.linker.utils.LogUtils;
import com.zhy.view.flowlayout.TagAdapter;


/**
 * @创建者 CSDN_LQR
 * @描述 内置浏览器界面
 */
public class WebViewActivity extends BaseActivity {

    private static final String TAG = "WebViewActivity:";
    @Override
    protected int getLayoutId() {
        return R.layout.activity_webview;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

       int result =  fact(5);

        LogUtils.v(TAG + result );
    }

    @Override
    protected void initListener() {

    }

    @Override
    protected BasePresenter createPresenter() {

        return null;
    }

    int fact(int n){

        if(n==1){
            return 1;
        }else{
            return fact(n-1)*n;
        }
    }
}
